<?php

declare(strict_types=1);
/**
 * This file is part of MoChat.
 * @link     https://mo.chat
 * @document https://mochat.wiki
 * @contact  group@mo.chat
 * @license  https://github.com/mochat-cloud/mochat/blob/master/LICENSE
 */
namespace MoChat\App\WorkMessage\Event;

class MessageReceivedRawEvent
{
    /**
     * @var array
     */
    public $messages;

    /**
     * @var int
     */
    public $corpId;

    public function __construct(int $corpId, array $messages)
    {
        $this->corpId = $corpId;
        $this->messages = $messages;
    }
}
